/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.p2pmessages;

import java.io.Serializable;

/**
 *
 * @author triki
 */
public class PlayMessage implements Serializable {

    private final String cancion;
    private final String user;
    private final int port;

    public PlayMessage(String can,String usr,int port)
    {
        cancion = new String(can);
        user = new String(usr);
        this.port = port;
    }

    public String getCancion()
    {
        return cancion;
    }

    public String getUser()
    {
        return user;
    }

    public int getPort()
    {
        return port;
    }
}
